package top.jiangqiang.sentinel.feign.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

//该注解可以省略
@EnableDiscoveryClient
@SpringBootApplication
//使用feign客户端时必须
@EnableFeignClients
public class ServiceSentinelFeignConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceSentinelFeignConsumerApplication.class, args);
    }

}
